package com.hanrui.android.net.contract.message.myvote;

import android.content.Context;

import com.hanrui.android.library.base.BaseContract;
import com.hanrui.android.constant.LoadType;
import com.hanrui.android.model.MyVoteListBean;

import java.util.List;

public interface MyVoteListContract {
    interface View extends BaseContract.BaseView{
        void notYetList(List<MyVoteListBean> dataList, @LoadType.checker int loadType);
        void alreadyList(List<MyVoteListBean> dataList, @LoadType.checker int loadType);
    }

    interface Presenter extends BaseContract.BasePresenter<MyVoteListContract.View>{
        void notYetList(Context context, String type);
        void alreadyList(Context context, String type);
        void refresh(Context context, String type);
    }
}
